package tw.com.softleader.reins.demo.exam.dao;
import java.util.List;
import org.junit.Test;
import org.springframework.beans.factory.annotation.Autowired;
import tw.com.softleader.reins.demo.exam.entity.Exam;
import tw.com.softleader.reins.test.BaseTest;

public class ExamDaoTest01 extends BaseTest {
	@Autowired
	private ExamDao examDao;
	
	@Test
	public void testFindAll() {
		List<Exam> exams = examDao.findAll();
		
		for(Exam exam:exams) {
			System.out.println(exam);
		}
	}

}
